package ca.tatham.triplipse.editors;

import org.openrdf.rio.Parser;
import org.openrdf.rio.turtle.TurtleParser;

/**
 * <P>
 * An RDF editor that accepts Turtle.
 * </P>
 * 
 * See <a href="http://www.dajobe.org/2004/01/turtle/">this site</a> for
 * details.
 * 
 * @author BenTatham
 */
public class TurtleEditor extends RdfEditor {

	public static final String EDITOR_ID = "ca.tatham.triplipse.editors.TurtleEditor";
	public static final String MARKER_TYPE = "ca.tatham.triplipse.editors.TurtleProblem";

	public TurtleEditor() {
		super();
	}

	@Override
	protected String getMarkerType() {
		return MARKER_TYPE;
	}

	@Override
	protected Parser getParser() {
		return new TurtleParser();
	}
}
